package com.wuxiaoqin.admin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Orders对象", description="")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId("orderNo")
    private Integer orderno;

    @ApiModelProperty(value = "用户id")
    @TableField("U_id")
    private Integer uId;

    @ApiModelProperty(value = "邮费")
    private Integer postage;

    @ApiModelProperty(value = "0表示未支付的状态，支付完后要改值1")
    private Integer status;

    @ApiModelProperty(value = "订单支付状态已支付、未支付")
    @TableField("statusDesc")
    private String statusdesc;

    @ApiModelProperty(value = "付款时间")
    @TableField("paymentTime")
    private String paymenttime;

    @ApiModelProperty(value = "订单创建时间")
    @TableField("createTime")
    private String createtime;

    @ApiModelProperty(value = "原价格")
    private BigDecimal orgprice;

    @ApiModelProperty(value = "积分抵扣")
    private Integer integral;

    @ApiModelProperty(value = "交易价格")
    private BigDecimal payment;

    @ApiModelProperty(value = "地址编号")
    private Integer addId;

    @ApiModelProperty(value = "收货姓名")
    @TableField("add_Name")
    private String addName;

    @ApiModelProperty(value = "收货手机")
    private String addPhone;

    @ApiModelProperty(value = "收货地址")
    private String addAddress;

    @ApiModelProperty(value = "图片")
    private String imgage;


}
